﻿namespace PMS.Client.FrmUserPositionLevel
{
    using AdvancedDataGridView;
    using PMS.BLL;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class FrmCount : Form
    {
        private UserPositionLevelBLL bll = new UserPositionLevelBLL();
        private TreeGridColumn BuildName;
        private IContainer components = null;
        private DataGridViewTextBoxColumn Count_Allow;
        private DataGridViewTextBoxColumn Count_Reality;
        private Label lbTitle;

        public FrmCount(int OrganID)
        {
            this.InitializeComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            DataGridViewCellStyle style = new DataGridViewCellStyle();
            DataGridViewCellStyle style2 = new DataGridViewCellStyle();
            this.lbTitle = new Label();
            this.BuildName = new TreeGridColumn();
            this.Count_Allow = new DataGridViewTextBoxColumn();
            this.Count_Reality = new DataGridViewTextBoxColumn();
            base.SuspendLayout();
            this.lbTitle.BackColor = Color.Gold;
            this.lbTitle.Dock = DockStyle.Top;
            this.lbTitle.Font = new Font("宋体", 14.25f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
            this.lbTitle.ForeColor = Color.Black;
            this.lbTitle.Location = new Point(0, 0);
            this.lbTitle.Name = "lbTitle";
            this.lbTitle.Size = new Size(0x2e8, 0x1f);
            this.lbTitle.TabIndex = 11;
            this.lbTitle.Text = "岗位情况";
            this.lbTitle.TextAlign = ContentAlignment.MiddleCenter;
            style.Font = new Font("宋体", 9f);
            this.BuildName.DefaultCellStyle = style;
            this.BuildName.DefaultNodeImage = null;
            this.BuildName.FillWeight = 60f;
            this.BuildName.HeaderText = "岗位名称";
            this.BuildName.Name = "BuildName";
            this.BuildName.Resizable = DataGridViewTriState.True;
            this.BuildName.SortMode = DataGridViewColumnSortMode.NotSortable;
            this.Count_Allow.FillWeight = 20f;
            this.Count_Allow.HeaderText = "编制人数";
            this.Count_Allow.Name = "Count_Allow";
            this.Count_Allow.SortMode = DataGridViewColumnSortMode.NotSortable;
            style2.Font = new Font("宋体", 9f);
            this.Count_Reality.DefaultCellStyle = style2;
            this.Count_Reality.FillWeight = 20f;
            this.Count_Reality.HeaderText = "实有人数";
            this.Count_Reality.Name = "Count_Reality";
            this.Count_Reality.Resizable = DataGridViewTriState.True;
            this.Count_Reality.SortMode = DataGridViewColumnSortMode.NotSortable;
            base.AutoScaleDimensions = new SizeF(6f, 12f);
            base.AutoScaleMode = AutoScaleMode.Font;
            this.BackColor = Color.FromArgb(0xa4, 0xc4, 0xeb);
            base.ClientSize = new Size(0x2e8, 0x1c1);
            base.Controls.Add(this.lbTitle);
            base.Name = "FrmCount";
            this.Text = "FrmCount";
            base.ResumeLayout(false);
        }
    }
}

